package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.EducationSecurityQuestionsRecordDao;
import com.site.wisdom_construction.entity.personnelModule.EducationSecurityQuestionsRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/4/23
 * @Description
 */
@Service
public class EducationSecurityQuestionsRecordService implements EducationSecurityQuestionsRecordDao {
    @Autowired
    private EducationSecurityQuestionsRecordDao educationSecurityQuestionsRecordDao;

    @Override
    public int insertEducationSecurityQuestionsRecord(Map map) {
        return educationSecurityQuestionsRecordDao.insertEducationSecurityQuestionsRecord(map);
    }

    @Override
    public int deleteEducationSecurityQuestionsRecord(Map map) {
        return educationSecurityQuestionsRecordDao.deleteEducationSecurityQuestionsRecord(map);
    }

    @Override
    public int updateEducationSecurityQuestionsRecord(Map map) {
        return educationSecurityQuestionsRecordDao.updateEducationSecurityQuestionsRecord(map);
    }

    @Override
    public List<EducationSecurityQuestionsRecord> findEducationSecurityQuestionsRecordByPage(Map map) {
        return educationSecurityQuestionsRecordDao.findEducationSecurityQuestionsRecordByPage(map);
    }

    @Override
    public long Total(Map map) {
        return educationSecurityQuestionsRecordDao.Total(map);
    }

    @Override
    public EducationSecurityQuestionsRecord findEducationSecurityQuestionsRecordById(Map map) {
        return educationSecurityQuestionsRecordDao.findEducationSecurityQuestionsRecordById(map);
    }

    @Override
    public List<EducationSecurityQuestionsRecord> findEducationSecurityQuestionsRecordByWorkerCard(Map map) {
        return educationSecurityQuestionsRecordDao.findEducationSecurityQuestionsRecordByWorkerCard(map);
    }

    @Override
    public List<EducationSecurityQuestionsRecord> findEducationSecurityQuestionsRecordByManagerialId(Map map) {
        return educationSecurityQuestionsRecordDao.findEducationSecurityQuestionsRecordByManagerialId(map);
    }

    @Override
    public long TotalByManagerialId(Map map) {
        return educationSecurityQuestionsRecordDao.TotalByManagerialId(map);
    }
}
